<?php echo $xml->serialize($data, array('format' => 'tags', 'cdata' => false)); ?>